fix(tests): use whitelisted smoke job in quantum integration test#461
Open
cursor[bot] wants to merge 2 commits into
Open
fix(tests): use whitelisted smoke job in quantum integration test#461cursor[bot] wants to merge 2 commits into
cursor[bot] wants to merge 2 commits into
Conversation
The run_autorun_job bridge validates job names against baseline, benchmark, nightly, and smoke. Update list/dict status lookup test to use smoke instead of another so pre-commit unit tests pass. Co-authored-by: Bryan
Update tracked data_out status files from successful hourly repo health automation run (2725 tests passed, integration gate and agents ok). Co-authored-by: Bryan
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the quantum integration autorun job test to use the whitelisted 'smoke' job name so the test exercises the real status lookup path accepted by the bridge. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
🟡 Coverage —
|
| Metric | Value |
|---|---|
| Total coverage | 65.2% |
→ vs main |
0.0% |
| Minimum threshold | 60% |
Updated on every push · 2026-06-20
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Author
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_82c1ddcc-96b9-4bf9-98cc-a6537d006a68) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hourly repo health automation failed on
pre_commit_checkbecausetests/test_quantum_integration.pyused the non-whitelisted job nameanother. The quantum integration bridge only acceptsbaseline,benchmark,nightly, andsmoke, so the test never reached status lookup logic.Changes
test_run_autorun_job_reads_status_for_list_and_dict_shapesto use the whitelistedsmokejob name in fixtures and assertions.Verification
pytest tests/test_quantum_integration.py -v— 2 passedPYTHON_BIN=.venv/bin/python scripts/repo_health_automation.py --once --repair-status --refresh-stale-status --run-agents --continue-on-fail— all steps passed (2725 unit tests, integration contract gate, repo agents)Checklist
.github/copilot-instructions.md, instruction files)python scripts/test_runner.py --unit)Summary by Sourcery
Bug Fixes:
smokejob name instead of a non-allowed job, ensuring the test correctly validates status handling and passes in automated health checks.Note
Low Risk
Test-only rename plus generated status JSON updates; no production or auth logic changed.
Overview
Fixes failing repo health
pre_commit_checkby aligning the quantum integration unit test withrun_autorun_job’s allowed job names (baseline,benchmark,nightly,smoke).test_run_autorun_job_reads_status_for_list_and_dict_shapesnow usessmokeinstead ofanotherin parametrized fixtures, therun_autorun_jobcall, and assertions so dry-run status lookup is actually exercised.The diff also refreshes
data_out/**/status.json(and related CI/smoke artifacts) from a successful health cycle—timestamps, step durations, and resource snapshots only; no application logic changes there.Reviewed by Cursor Bugbot for commit 27e8080. Bugbot is set up for automated code reviews on this repo. Configure here.